//
// Created by csp18 on 2025/2/27.
//

#ifndef INetLISTENER_H
#define INetLISTENER_H


class INetListener
{
public:
    virtual ~INetListener() = default;

    virtual void on_data_available(unsigned char *user,
                                   const struct pcap_pkthdr *header,
                                   const unsigned char *pkt_data) = 0;
};

#endif //INetLISTENER_H
